export const columns = [
  {type: 'index', label: '序号', width: 60},
  {'min-width': 200, prop: 'companyName', label: '企业名称'},
  {
    'min-width': 200,
    prop: 'companyType',
    label: '企业类型',
    formatter: row => companyTypeMap[row.companyType]
  },
  {'min-width': 200, prop: 'companyCode', label: '自定义编码'},
  {prop: 'operation', label: '操作', fixed: 'right', width: 150}
]
export const menuListColumns = [
  // {type: 'selection', width: 60},
  // {prop: 'appGroupName', label: '系统', width: 120,isMergeCell:true},
  {prop: 'appName', label: '系统', width: 160, isMergeCell: true},
  {width: 200, prop: 'appResourceName', label: '一级菜单', isMergeCell: true},
  {
    minWidth: 200,
    prop: 'appResourceNametwo',
    label: '二级菜单',
    isMergeCell: true
  },
  {minWidth: 200, prop: 'appResourceNamethree', label: '三级菜单'}
]
export const companyTypeMap = {
  HO: '医院',
  FC: '原厂',
  MM: '平台',
  AG: '经销商'
}
export const companyTypeOptions = [
  {
    label: '平台',
    value: 'MM'
  },
  {
    label: '原厂',
    value: 'FC'
  },
  {
    label: '经销商',
    value: 'AG'
  },
  {
    label: '医院',
    value: 'HO'
  }
]
